function GetQueryString(name)
{
     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
     var r = window.location.search.substr(1).match(reg);
     if(r!=null)return  decodeURI(r[2]); return null;
}
function dialogs(ifo){
    var d = dialog({
            title: '温馨提示',
            content: ifo.cnt,
            width:200,
            okValue: '确定',
            ok:function () {         
                if(ifo.sub != undefined){
                   var _style = ifo.callback
                   window.location.href=ifo.sub+"?style="+_style
                }
                 
            }
        }).showModal(); 
        return d
}
